package cn.com.dao;

import cn.com.pojo.Food;
import cn.com.pojo.User;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface FoodMapper {
    @Select("select * from t_food")
    public List<Food> find();

    @Select("select * from t_food where id=#{id}")
    public Food findById(Integer id);
}
